/**
 * 对象功能:工作日历表 Model对象
 * 作者:yhb
 * 开发时间:2011-6-11 13:45:59
 */
package com.towker.frame.model.sys;
public class WorkCalendar
{
	@Override
	public String toString(){
		return"{id:"+id+",datetimestr:'"+datetimestr+"',yearstr:'"+yearstr+"',monthstr:'"+monthstr+"',daystr:'"+daystr+"',weekDay:"+weekDay+",state:"+state+"}";
		//"insert into T_SYS_WORKCALENDAR(id,datetimestr,yearstr,monthstr,daystr,weekDay,state) values("+id+",'"+datetimestr+"',"+yearstr+","+monthstr+","+daystr+","+ weekDay + ","+state+");\r\n";
	}
	
	//主键
	private Long id = 0L;
	//日期时间
	private String datetimestr = "";
	//年份
	private String yearstr = "";
	//月份
	private String monthstr = "";
	//日期
	private String daystr = "";
	//周几
	private int weekDay = 4;
	//状态(0-未定义,1-节假日,2-休息日,3-工作日)
	private Integer state;

	public void setId(Long id){
		this.id = id;
	}

	public Long getId()
	{
		return this.id;
	}

	public void setDatetimestr(String datetimestr)
	{
		this.datetimestr = datetimestr;
	}

	public String getDatetimestr()
	{
		return this.datetimestr;
	}

	public void setYearstr(String yearstr)
	{
		this.yearstr = yearstr;
	}

	public String getYearstr()
	{
		return this.yearstr;
	}

	public void setMonthstr(String monthstr)
	{
		this.monthstr = monthstr;
	}

	public String getMonthstr()
	{
		return this.monthstr;
	}

	public void setDaystr(String daystr)
	{
		this.daystr = daystr;
	}

	public String getDaystr()
	{
		return this.daystr;
	}

	public Integer getState()
	{
		return state;
	}

	public void setState(Integer state)
	{
		this.state = state;
	}

	public int getWeekDay()
	{
		return weekDay;
	}

	public void setWeekDay(int weekDay)
	{
		this.weekDay = weekDay;
	}
}